//
//  MegafaunaOfTheWeekAsyncImageView.h
//  Cachalot
//
//  Created by Adam Cue on 6/7/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AsyncImageView.h"

@protocol MegafaunaOfTheWeekAsyncImageViewDelegate
- (void)imageView:(id)imageView downloadedImage:(UIImage *)image withIndex:(NSUInteger)index andInfo:(NSDictionary *)info;
@end

@interface MegafaunaOfTheWeekAsyncImageView : AsyncImageView {
   NSDictionary * _info;
   id<MegafaunaOfTheWeekAsyncImageViewDelegate> delegate;
   NSUInteger index;
}

#pragma mark ExternalMethods
- (void)setSpinnerForLoading;

@property(nonatomic, retain) NSDictionary * info;
@property(nonatomic, assign) id<MegafaunaOfTheWeekAsyncImageViewDelegate> delegate;
@property NSUInteger index;

@end
